package org.example.util;

/**
 * @ClassName: JavaTreeUtil
 * @Description:
 * @Author: YourName
 * @Date: 2024/12/20
 */

public class JavaTreeUtil {
    public static String capitalize(String str) {
        if (str == null || str.length() == 0) {
            return str;
        }
        return str.substring(0, 1).toUpperCase() + str.substring(1);
    }

}
